package com.service.business.member.controller.req;

import com.service.business.member.validator.VerifyCodeExistValidate;
import com.service.dao.constants.ConfigConstants;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

/**
 * <dl>
 * <dt>platform</dt>
 * <dd>Description:</dd>
 * <dd>Copyright: Copyright (C) 2015</dd>
 * <dd>Company: </dd>
 * <dd>CreateDate: 2019年05月09日</dd>
 * </dl>
 *
 * @author
 */
@Setter
@Getter
@ToString
public class ResetPassReq {

    @NotBlank(message = "args_empty_user_account")
    private String userAccount;

    @NotBlank(message = "args_empty_reset_pwd")
    private String password;

    @NotBlank(message = "args_empty_sms_verify_code")
    private String verifyCode;

    @VerifyCodeExistValidate(ConfigConstants.IMAGE_VERIFY_CODE)
    private String picCodeId;

    @VerifyCodeExistValidate(ConfigConstants.IMAGE_VERIFY_CODE)
    private String picCode;

}
